package com.novax.ex.activity.provider.api.model;

import com.novax.ex.common.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Description:
 *
 * @author shaw
 * @date 7/21/22 16:16
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class DrawEntity extends BaseEntity {
    /** 现货交易额 */
    private BigDecimal spotLimit;

    /** 合约交易额 */
    private BigDecimal swapLimit;

    /** 充值额 */
    private BigDecimal walletLimit;

    /** 现货次数上限 */
    private Integer spotNumber;

    /** 合约次数上限 */
    private Integer swapNumber;

    /** 充值次数上限 */
    private Integer walletNumber;

    /** 开始时间 */
    private Date startTime;

    /** 结束时间 */
    private Date endTime;

    /** 开启状态 */
    private Integer status;

    /** 上下架状态 */
    private Integer isOpened;

    /** 规则 */
    private String rule;
}
